package top.zywork.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.BindingResult;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import top.zywork.annotation.AppAuthFilter;
import top.zywork.annotation.SysLog;
import top.zywork.common.BeanUtils;
import top.zywork.common.BindingResultUtils;
import top.zywork.common.StringUtils;
import top.zywork.dto.AppAuthDTO;
import top.zywork.dto.PagerDTO;
import top.zywork.query.AppAuthQuery;
import top.zywork.service.AppAuthService;
import top.zywork.vo.AppAuthVO;
import top.zywork.vo.PagerVO;
import top.zywork.vo.ResponseStatusVO;

import java.util.List;

/**
 * AppAuthFilterController控制器类，只用于指定哪些额外的uri不需要被appauth授权过滤<br/>
 *
 * 创建于2020-01-11<br/>
 *
 * @author http://zywork.top 王振宇
 * @version 1.0
 */
@RestController
@AppAuthFilter(ignoreUrls = {
        "/swagger-ui.html/**",
        "/swagger-ui.html#/**",
        "/swagger-resources/**",
        // swagger api docs
        "/v2/**",
        // swagger webjars
        "/webjars/**",
        "/druid/**",
        "/actuator/**"
}, ignoreHeaderRefers = {
        "/swagger-ui.html"
})
@Slf4j
public class AppAuthFilterController extends BaseController {

}
